package com.boot.mall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.common.utils.PageUtils;
import com.boot.common.vo.MemberResponseVo;
import com.boot.mall.member.entity.MemberEntity;
import com.boot.mall.member.vo.MemberLoginVo;
import com.boot.mall.member.vo.MemberRegisterVo;

import java.util.Map;

/**
 * 会员
 *
 * @author huihui
 * @email 2565036109@qq.com
 * @date 2021-05-06 19:33:48
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils pageMember(Map<String, Object> params);

    void registerMember(MemberRegisterVo vo);

    void checkEmailExist(String email);

    void checkUserNameExist(String userName);

    String loginMember(MemberLoginVo vo);

    MemberResponseVo authRegister(MemberResponseVo vo);

    MemberResponseVo getMemberInfo(String uid);
}

